<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>组件化开发</title>
</head>
<body>
    <my-component></my-component>
</body>
<script type="module" src="./components/MyComponent.js"></script>
</html>